<?php

// Luu n?i dung sau khi file php ch?y xong v�o file cache
$cached = fopen($cachefile, 'w');
fwrite($cached, "<!-- Cached page khoi tao ".date('H:i', filemtime($cachefile))." -->\n");
fwrite($cached, ob_get_contents());
fclose($cached);

ob_end_flush(); // D?ng buffer, g?i n?i dung d?n tr�nh duy?t
?>